import Icon from '@/components/Icon'
import styled from 'styled-components'
import img from '@img/all.png'

export const Wrap = styled.div`
	display: flex;
	align-items: center;
	height: 56px;
	border-top: 2px solid #949799;
	position: relative;
`
export const ScrollWrap = styled.div`
	display: flex;
	align-items: center;
	height: 56px;
`
export const BodyWrap = styled.div`
	color: #8b8b8b;
	display: flex;
	height: 50px;
	align-items: center;
	margin-left: 9px;
	width: 600px;
	font-size: 12px;
	.sender {
		font-weight: bold;
	}
	.btn-bar {
		float: right;
	}
	.button {
		border: 1px solid #e5e5e5;
		display: inline-block;
		font-size: 12px;
		height: 22px;
		line-height: 22px;
		text-align: center;
		width: 70px;
		background-color: #eff2f4;
		margin-right: 5px;
	}
`
export const HelpWrap = styled.div`
	display: flex;
	align-items: center;
	width: 36px;
	height: 100%;
	position: relative;
	.notify-tip {
		position: absolute;
		background-color: #d21e1e;
		width: 8px;
		height: 8px;
		border-radius: 50%;
		top: 2px;
		right: 2px;
	}
`
export const ScrollBtn = styled.a`
	width: 21px;
	height: 20px;
	background: url(${img}) no-repeat;
	float: left;
	&.prev {
		margin-left: 10px;
		background-position: 0 -2458px;
	}
	&.prev:hover {
		background-position: -21px -2458px;
	}
	&.prev:active {
		background-position: -42px -2458px;
	}
	&.prev.disable {
		margin-left: 10px;
		background-position: -63px -2458px;
	}
	&.prev.disable:hover {
		background-position: -63px -2458px;
	}
	&.prev.disable:active {
		background-position: -63px -2458px;
	}
	&.next {
		background-position: -84px -2458px;
	}
	&.next:hover {
		background-position: -105px -2458px;
	}
	&.next:active {
		background-position: -126px -2458px;
	}
	&.next.disable {
		background-position: -147px -2458px;
	}
	&.next.disable:hover {
		background-position: -147px -2458px;
	}
	&.next.disable:active {
		background-position: -147px -2458px;
	}
`
export const IconHelper = styled(Icon)`
	position: relative;
	width: 36px;
	height: 36px;
	background-position: 0 -3175px;
`
export const IconHelperBig = styled(Icon)`
	width: 54px;
	height: 54px;
	background-position: 0 -3211px;
	margin-bottom: 30px;
`

export const IconClose = styled(Icon)`
	width: 14px;
	height: 14px;
	background-position: -77px -249px;
`
export const IconModalRemove = styled(Icon)`
	width: 23px;
	height: 23px;
	background-position: 0px -226px;
	&:hover {
		background-position: -23px -226px;
	}
`
export const StyledWrap = styled.div`
	width: 100%;
	height: 100%;
	color: #4e4e4e;
	font-size: 12px;
	.helper-header {
		display: flex;
		height: 40px;
		align-items: center;
		justify-content: space-between;
		border-bottom: 1px solid #ececec;
	}
	.helper-body {
		height: 100%;
		.helper-main {
			display: flex;
			height: 100%;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			text-align: center;
			&-tips {
				font-size: 16px;
				margin-bottom: 36px;
			}
			ul {
				li {
					margin-bottom: 20px;
					span {
						font-size: 14px;
						cursor: pointer;
						color: #007ac0;
						cursor: pointer;
						text-decoration: underline;
					}
				}
			}
		}
	}
`

export const StyledBtn = styled.div`
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
	margin-bottom: 30px;
	.btn {
		margin-right: 6px;
	}
`

export const StyledRequestTip = styled.div`
	position: absolute;
	top: -46px;
	width: 260px;
	height: 38px;
	line-height: 38px;
	white-space: nowrap;
	background: #000000;
	font-size: 14px;
	color: #fff;
	opacity: 0.75;
	&:before {
		position: absolute;
		top: 38px;
		left: 17px;
		content: '';
		display: block;
		width: 0;
		height: 0;
		transform: translateX(-50%);
		border: 5px solid;
		border-color: #000000 transparent transparent transparent;
	}
	.num {
		margin-left: 16px;
		margin-right: 8px;
		font-weight: 700;
	}
	.detail {
		text-decoration: underline;
		color: #46aee9;
		margin-right: 10px;
		margin-left: 10px;
		cursor: pointer;
	}
	.close-icon {
		position: absolute;
		top: 13px;
		right: 8px;
	}
`
